import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  base:'./',
  server:{
    proxy:{
      '/api':{
        target:'http://chst.vip',
        rewrite: (path) => path.replace(/^\/api/, ''),
      }
    }

  }
})
